package com.yunhe.rentcars.pro.service.system;

import com.yunhe.rentcars.commons.dto.TreeNode;
import com.yunhe.rentcars.pro.entity.system.SysDict;

import java.util.List;

public interface SysDictService {

    void save(SysDict sysDict);

    void update(SysDict sysDict);

    List<SysDict> findList();

    /**
     * 查询字典树
     * @param sysDict
     * @return
     */
    List<TreeNode> findTreeNodes(SysDict sysDict);
}
